package com.ruoyi.youtian.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 *  预警记录表
 */
@Data
public class TEarlyWarningRecordVo {

    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 场景编号 */
    @Excel(name = "场景编号")
    private Long sceneId;

    /** 预警名称 */
    @Excel(name = "场景名称")
    private String sceneName;

    /** 预警名称 */
    @Excel(name = "预警名称")
    private String warningName;

    /** 预警编码*/
    @Excel(name = "预警编码")
    private String warningCode;

    /** 预警时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd ")
    private String warningTime;

    /** 预警说明 */
    @Excel(name = "预警说明")
    private String warningRemark;

    /** 触发时报警的值 几率值 */
    @Excel(name = "触发时报警的值 几率值")
    private String alarmValue;

    /** 预警方式 */
    @Excel(name = "预警方式")
    private String warningType;
}
